package com.patrol.service.impl;

import com.patrol.dao.ExampleDao;
import com.patrol.pojo.Example;
import com.patrol.service.ExampleService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

@Service
public class ExampleServiceImpl implements ExampleService {

    @Resource
    private ExampleDao exampleDao;

    @Override
    public List<Example> example() {

        return exampleDao.selectList(null);
    }
}
